﻿@model FinalProject.Web.ViewModels.ClientViewModel

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>ClientViewModel</legend>

    <div class="display-label">First Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PersonName.FirstName)
    </div>

    <div class="display-label">Last Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PersonName.LastName)
    </div>

    <div class="display-label">Middle Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PersonName.MiddleName)
    </div>

    <div class="display-label">Phone</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Phone)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "List")
    </p>
}
